const onresize =()=>{
    let width = document.documentElement.clientWidth
    width /= 10
    document.documentElement.style.fontSize=width+'px'
}
onresize()
document.addEventListener('resize',onresize)